package cn.iocoder.an.module.mold.controller.admin.upkeeptask.vo;

import cn.idev.excel.annotation.ExcelProperty;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.an.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.an.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 模具保养任务分页 Request VO")
@Data
public class UpkeepTaskPageReqVO extends PageParam {

    @Schema(description = "保养单号")
    private String code;

    @Schema(description = "图号id", example = "16527")
    private Long drawingNoId;

    @Schema(description = "模具id", example = "11520")
    private Long accountId;

    @Schema(description = "保养人Id", example = "6308")
    private Long assigneerId;

    @Schema(description = "保养人Ids")
    private String assigneerIds;

    @Schema(description = "保养类型id", example = "15479")
    private Long upkeepId;

    @Schema(description = "任务状态", example = "2")
    private Integer status;

    @Schema(description = "计划保养日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] nextUpkeepTime;

    @Schema(description = "实际保养日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] realUpkeepTime;

    @Schema(description = "任务下达时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] taskCreateTime;

    @Schema(description = "任务接收时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime taskReceiveTime;

    @Schema(description = "作业开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime jobStartTime;

    @Schema(description = "任务开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime taskStartTime;

    @Schema(description = "任务结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime taskEndTime;

    @Schema(description = "任务执行时长")
    private Double taskExecutionDuration;

    @Schema(description = "任务执行时长")
    private String auditDescription;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;



}